#ifndef CUSTOMEVENT_H
#define CUSTOMEVENT_H

#include <QEvent>

class CustomEvent : public QEvent {
public:
    CustomEvent(int customData) : QEvent(Type(CustomEventType)), data(customData) {}
   ~ CustomEvent(){}
    int data;

    static QEvent::Type CustomEventType;

    int customData() const { return data; }
};


#endif // CUSTOMEVENT_H
